package com.hzit.listener;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * 类名：
 * 作者：WF
 * 功能：接收直连消息
 */
@Component
@RabbitListener(queues = "hzit")
public class HzitDirectListener {
	@RabbitHandler
	public void getMessage(String message){
		System.out.println("[接受到消息:direct]:" + message);
	}
}
